//
//  HOnePageDetailViewController.h
//  ShowYork
//
//  Created by hxh on 2020/10/4.
//  Copyright © 2020 hxh. All rights reserved.
//

#import "RPBaseViewController.h"
#import "HomePageItemModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, XHPageDetailPlatformType){
    XHPageDetailPlatformTypeNormal = 0, /// 普通进入 不展示
    XHPageDetailPlatformTypeShowComment, // 展示评论列表
    XHPageDetailPlatformTypeShowReply, // 展示回复列表
    XHPageDetailPlatformTypeBeginText, // 展示输入弹出框
    XHPageDetailPlatformTypeMessageComment,// 消息中心跳转回复列表
    XHPageDetailPlatformTypeMessageReply, // 消息中心回复列表
    XHPageDetailPlatformTypeMessageOther, // 消息中心其他列表
    XHPageDetailPlatformTypeHtml,// h5页面跳转
    XHPageDetailPlatformTypeSingleDetail,// 只看点击动态
    XHPageDetailPlatformTypeMineList, // 点击用作品进入
    XHPageDetailPlatformTypeUserList,
};

typedef NS_ENUM(NSInteger, XHPageDetailItemType){
    XHPageDetailItemTypeNormal = 0, /// 普通按钮进入
    XHPageDetailItemTypeDelete, // 删除按钮
    XHPageDetailItemTypeMix,
};




typedef void(^updateCenterListBlock)(HomePageItemModel *itemModel);

extern NSString* const kXHItemType; /// 按钮类型
extern NSString* const kXHListSource; /// list
extern NSString* const kXHCurrentIndex; /// 列表点击进入的索引
extern NSString* const kXHCurrentPage; /// 当前分页
extern NSString* const kXHPlatformType; /// 跳转类型
extern NSString* const kXHLikedUserId; /// 点赞列表的用户id
extern NSString* const kXHDetailCommentId; /// 评论id
extern NSString* const kXHDetailReplyId; /// 回复id
extern NSString* const kXHDetailTagId; /// 标签id
extern NSString* const kXHShowUserInfo; /// 是否显示头像
extern NSString* const kXHScrollUnEnable; /// 是否视图滚动
extern NSString* const kXHUserCreateTime; /// 显示菜单栏时间
extern NSString* const kXHHeaderHidden;

@interface HomePageDetailViewController : RPBaseViewController
/// @param configInfo 传参对象
- (instancetype)initWithConfigInfo:(NSDictionary *)configInfo;
@end

NS_ASSUME_NONNULL_END
